package com.ktjy.ktmall.service.impl;

import com.ktjy.ktmall.dao.BannerItemDao;
import com.ktjy.ktmall.dao.impl.BannerItemDaoImpl;
import com.ktjy.ktmall.entity.BannerItem;
import com.ktjy.ktmall.service.BannerItemService;

import java.util.Collections;
import java.util.List;

/**
 * @auth wzy
 * @date 2024/10/12 9:44
 */
public class BannerItemServiceImpl implements BannerItemService {

    private BannerItemDao bannerItemDao = new BannerItemDaoImpl();

    @Override
    public List<BannerItem> findByType(int type) {

        return bannerItemDao.findByType(type);
    }
}
